<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旅行日记 - 我的个人博客</title>
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/travel.css">
    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/main.js" defer></script>
</head>
<body>
    <header>
        <nav class="main-nav">
            <div class="logo">
                <h1><a href="index.html">我的博客</a></h1>
            </div>
            <ul class="nav-menu">
                <li class="nav-item">
                    <a href="#" class="nav-link">技术分享</a>
                    <ul class="submenu">
                        <li><a href="frontend.html">前端开发</a></li>
                        <li><a href="backend.html">后端开发</a></li>
                        <li><a href="tools.html">开发工具</a></li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="#" class="nav-link active">生活随笔</a>
                    <ul class="submenu">
                        <li><a href="travel.html" class="active">旅行日记</a></li>
                        <li><a href="food.html">美食推荐</a></li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="#" class="nav-link">关于我</a>
                    <ul class="submenu">
                        <li><a href="profile.html">个人简介</a></li>
                        <li><a href="contact.html">联系方式</a></li>
                    </ul>
                </li>
            </ul>
            <button id="theme-toggle" class="theme-toggle">
                <span class="light-icon">☀️</span>
                <span class="dark-icon">🌙</span>
            </button>
        </nav>
    </header>

    <main>
        <div class="page-header">
            <h2>旅行日记</h2>
            <p>记录旅途中的点点滴滴</p>
        </div>

        <div class="content-grid">
            <div class="main-content">
                <div class="search-box">
                    <input type="text" placeholder="搜索旅行记录..." id="search-input">
                    <button type="button" id="search-btn">搜索</button>
                </div>

                <div class="travel-map">
                    <h3>我的足迹</h3>
                    <div class="map-container">
                        <img src="https://picsum.photos/1200/400?random=20" alt="旅行地图" class="map-image">
                        <div class="map-markers">
                            <span class="map-marker" style="left: 30%; top: 40%;" title="北京">🏛</span>
                            <span class="map-marker" style="left: 60%; top: 60%;" title="上海">🌆</span>
                            <span class="map-marker" style="left: 45%; top: 70%;" title="杭州">🌉</span>
                        </div>
                    </div>
                </div>

                <div class="travel-list">
                    <article class="travel-card">
                        <a href="travel-detail.html" class="travel-link">
                            <div class="travel-image">
                                <img src="https://picsum.photos/800/400?random=50" alt="春日漫步杭州西湖">
                            </div>
                            <div class="travel-content">
                                <h2>春日漫步杭州西湖</h2>
                                <p class="travel-excerpt">春日的西湖，如诗如画。记录了一次难忘的西湖之旅，分享美景、美食与文化体验。</p>
                                <div class="travel-meta">
                                    <span class="location"><i class="icon-location"></i>杭州</span>
                                    <span class="date"><i class="icon-calendar"></i>2024-03-15</span>
                                    <span class="views"><i class="icon-eye"></i>856 阅读</span>
                                </div>
                            </div>
                        </a>
                    </article>

                    <article class="travel-card">
                        <a href="travel-detail.html?id=2" class="travel-link">
                            <div class="travel-image">
                                <img src="https://picsum.photos/800/400?random=51" alt="苏州园林之美">
                            </div>
                            <div class="travel-content">
                                <h2>苏州园林之美</h2>
                                <p class="travel-excerpt">探访苏州古典园林，感受江南园林艺术的精髓，品味吴地文化的独特魅力。</p>
                                <div class="travel-meta">
                                    <span class="location"><i class="icon-location"></i>苏州</span>
                                    <span class="date"><i class="icon-calendar"></i>2024-02-20</span>
                                    <span class="views"><i class="icon-eye"></i>678 阅读</span>
                                </div>
                            </div>
                        </a>
                    </article>
                </div>

                <!-- 评论区 -->
                <div class="comments-section">
                    <h3>评论</h3>
                    <div class="comment-form">
                        <form id="commentForm">
                            <div class="form-group">
                                <input type="text" id="commenterName" placeholder="您的昵称" required>
                            </div>
                            <div class="form-group">
                                <textarea id="commentContent" placeholder="分享您的旅行经验..." required></textarea>
                            </div>
                            <button type="submit" class="submit-btn">发表评论</button>
                        </form>
                    </div>
                    <ul class="comment-list"></ul>
                </div>
            </div>

            <aside class="sidebar">
                <div class="travel-stats">
                    <h3>旅行统计</h3>
                    <div class="stats-grid">
                        <div class="stat-item">
                            <div class="stat-number">12</div>
                            <div class="stat-label">游记数量</div>
                        </div>
                        <div class="stat-item">
                            <div class="stat-number">8</div>
                            <div class="stat-label">城市足迹</div>
                        </div>
                        <div class="stat-item">
                            <div class="stat-number">36</div>
                            <div class="stat-label">景点打卡</div>
                        </div>
                        <div class="stat-item">
                            <div class="stat-number">24</div>
                            <div class="stat-label">美食探店</div>
                        </div>
                    </div>
                </div>

                <!-- 目的地推荐 -->
                <div class="destinations widget">
                    <h3>推荐目的地</h3>
                    <div class="destination-list">
                        <div class="destination-item">
                            <img src="https://picsum.photos/300/200?random=29" alt="苏州园林" class="destination-image">
                            <div class="destination-info">
                                <h4>苏州园林</h4>
                                <p>江南园林的代表作</p>
                            </div>
                        </div>
                        <div class="destination-item">
                            <img src="https://picsum.photos/300/200?random=30" alt="黄山" class="destination-image">
                            <div class="destination-info">
                                <h4>黄山</h4>
                                <p>云海奇松，温泉胜地</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 旅行标签 -->
                <div class="tags-widget widget">
                    <h3>旅行标签</h3>
                    <div class="tag-cloud">
                        <a href="#" class="tag-item" style="font-size: 1.4em">文化之旅</a>
                        <a href="#" class="tag-item" style="font-size: 1.2em">美食探索</a>
                        <a href="#" class="tag-item" style="font-size: 1.6em">自然风光</a>
                        <a href="#" class="tag-item">城市漫步</a>
                        <a href="#" class="tag-item" style="font-size: 1.3em">历史遗迹</a>
                        <a href="#" class="tag-item">民族体验</a>
                    </div>
                </div>

                <!-- 社交链接 -->
                <div class="social-links">
                    <h3>关注我</h3>
                    <div class="social-grid">
                        <a href="#" class="social-item">
                            <span class="social-icon">📱</span>
                            <span class="social-name">微信公众号</span>
                        </a>
                        <a href="#" class="social-item">
                            <span class="social-icon">🔥</span>
                            <span class="social-name">微博</span>
                        </a>
                        <a href="#" class="social-item">
                            <span class="social-icon">📷</span>
                            <span class="social-name">小红书</span>
                        </a>
                        <a href="#" class="social-item">
                            <span class="social-icon">🎬</span>
                            <span class="social-name">抖音</span>
                        </a>
                    </div>
                </div>
            </aside>
        </div>
    </main>

    <footer>
        <p>&copy; 2024 我的个人博客. All rights reserved.</p>
    </footer>

    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/main.js"></script>
    <script src="assets/js/article-list.js"></script>
</body>
</html> 